package com.lilanz.microservice.express.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

/**
 * 收到前端传递的快递信息进行打印
 */
@Data
@ToString(callSuper = true)
public class PrintBean extends BaseBean {
    //下面是主运单信息
    @ApiModelProperty(value = "运单号", name = "mailno", required = true)
    private String mailno;
    @ApiModelProperty(value = "源地址编码", name = "origincode", required = true)
    private String origincode;
    @ApiModelProperty(value = "目的地编码", name = "destcode", required = true)
    private String destcode;
    @ApiModelProperty(value = "打单时的路由标签信息", name = "destRouteLabel", required = true)
    private String destRouteLabel;
    @ApiModelProperty(value = "根据托寄物判断需要打印的图标", name = "printIcon", required = true)
    private String printIcon;
    @ApiModelProperty(value = "时效类型:值为二维码中的 K4", name = "proCode", required = true)
    private String proCode;
    @ApiModelProperty(value = "XB 标志 0:不需要打印 XB 1:需要打印 XB", name = "xbFlag", required = true)
    private String xbFlag;
    @ApiModelProperty(value = "AB 标", name = "abFlag", required = true)
    private String abFlag;
    @ApiModelProperty(value = "入港映射码", name = "codingMapping", required = true)
    private String codingMapping;
    @ApiModelProperty(value = "目的地单元区域映射码", name = "destTeamCode", required = true)
    private String destTeamCode;
    @ApiModelProperty(value = "二维码", name = "twoDimensionCode", required = true)
    private String twoDimensionCode;
    @ApiModelProperty(value = "原寄地中转场", name = "sourceTransferCode", required = false)
    private String sourceTransferCode;
    @ApiModelProperty(value = "目的地成时代码", name = "destCityCode", required = false)
    private String destCityCode;



    //下面的是签回单的信息
    @ApiModelProperty(value = "签回运单号", name = "returnMailno", required = false)
    private String returnMailno;
    @ApiModelProperty(value = "签回原寄地中转场", name = "returnSourceTransferCode", required = false)
    private String returnSourceTransferCode;
    @ApiModelProperty(value = "签回打单时的路由标签信息", name = "returnDestRouteLabel", required = false)
    private String returnDestRouteLabel;
    @ApiModelProperty(value = "签回根据托寄物判断需要打印的图标", name = "returnPrintIcon", required = false)
    private String returnPrintIcon;
    @ApiModelProperty(value = "签回时效类型:值为二维码中的 K4", name = "returnProCode", required = false)
    private String returnProCode;
    @ApiModelProperty(value = "签回XB 标志 0:不需要打印 XB 1:需要打印 XB", name = "returnXbFlag", required = false)
    private String returnXbFlag;
    @ApiModelProperty(value = "签回AB 标", name = "returnAbFlag", required = false)
    private String returnAbFlag;
    @ApiModelProperty(value = "签回入港映射码", name = "returnCodingMapping", required = false)
    private String returnCodingMapping;
    @ApiModelProperty(value = "签回目的地单元区域映射码", name = "returnDestTeamCode", required = false)
    private String returnDestTeamCode;
    @ApiModelProperty(value = "签回的二维码", name = "returnTwoDimensionCode", required = false)
    private String returnTwoDimensionCode;
    @ApiModelProperty(value = "签回目的地成时代码", name = "returnDestCityCode", required = false)
    private String returnDestCityCode;



}
